package homework;

public class Work01Test {
    public static void main(String[] args) {
        Work01<Integer>  integerWork01 = new Work01<>();
        integerWork01.put(3);
        integerWork01.put(2);
        integerWork01.put(1);

        System.out.println(integerWork01.get());
        System.out.println(integerWork01.get());

        System.out.println(integerWork01.isEmpty());

        System.out.println(integerWork01.get());

        System.out.println(integerWork01.isEmpty());

        System.out.println(integerWork01.get());
    }
}
